package cn.com.surker.enums.production.invoice;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 退料类型,所有转料应该记录退回步骤
 *
 * @author luotao
 * @date 2024/9/30
 */
public enum BackTypeEnum implements ICodeDescEnum {

	//	0,站内退回,即站内转料或者作废,1:站外退回,大部分用于站外转料
	STATION_TRAN(0, "站内退回"),
	OUT_TRAN(1, "站外退回"),
	;

	private final String description;

	private final Integer code;

	BackTypeEnum(Integer code, String description) {
		this.description = description;
		this.code = code;
	}


	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
